﻿using Aliphant.Mvvm.XEvent.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace CuteWallpaperDemo.UI.Windows
{
    /// <summary>
    /// 自定义全局命令
    /// </summary>
    public static class CustomCommands
    {
        public static RoutedCommand BackToLoginCommand { get; } = new RoutedCommand();

        public static RoutedCommand WindowDropMoveCommand { get; } = new RoutedCommand();

        public static RoutedCommand OpenUserCenterCommand { get; } = new RoutedCommand();

        public static RoutedCommand OpenSettingCommand { get; } = new RoutedCommand();

        public static RoutedCommand TopWindowCommand { get; } = new RoutedCommand();

        public static RelayCommand<string> SetThemeCommand { get; } = new RelayCommand<string>((obj) =>
        {
            int.TryParse(obj, out int theme);
            //ResourceManager.Instance.SetTheme((ThemeType)theme);
        });


    }
}
